		<script type="text/javascript" src="<?php echo JQUERY ?>jquery.validate.min.js"></script>
		<script type="text/javascript">
			$(document).ready(function(){
				$("#daftar_form").validate({
					rules : {
						nim : {
							required : true, 
							number : true
						},
						foto : {
							required : true
						},
						nama : "required",
						email : {
							required : true, 
							email : true
						},
						nohp : {
							required : true, 
							number : true
						},
						transkrip : {
							required : true
						},
						password_1 : {
							required : true, 
							minlength : 5
						},
						password_2 : {
							required : true, 
							minlength : 5, 
							equalTo : "#password_1"
						}
					},
					messages : {
						nim : " *Harap isi NIM dengan angka",
						foto : " *Harap upload foto anda",
						nama : " *Nama wajib dimasukkan",
						email : " *Isi alamat email yang valid",
						nohp : " *Isi nomor HP agar mendapat informasi lanjutan",
						transkrip : " *Harap upload transkrip anda",
						password_1 : " *Minimal password adalah 5 karakter",
						password_2 : " *Isi password harus sama"
					}
				});
			});
		</script>
		<?php echo form_open_multipart(HOME . 'edit_process', array('id' => 'daftar_form')) ?>
		<table width="500" border="0" align="center">
			<tr>
				<th colspan="2" scope="col">Edit biodata Asisten PTI</th>
			</tr>
			<tr>
				<td width="150">NIM :</td>
				<td width="350"><input type="text" name="nim" id="nim" value="<?php echo $nim ?>" readonly/></td>
			</tr>
			<tr>
				<td>Nama :</td>
				<td><input type="text" name="nama" id="nama" value="<?php echo $nama ?>"/></td>
			</tr>
			<tr>
				<td>Email :</td>
				<td><input type="text" name="email" id="email" value="<?php echo $email?>"/></td>
			</tr>
			<tr>
				<td>No. HP :</td>
				<td><input type="text" name="nohp" id="nohp" value="<?php echo $nohp?>"/></td>
			</tr>
			<tr>
				<td colspan="2" align="center">
					<input type="submit" value="Simpan"/>
					<input type="reset" value="Reset"/>
					<input type="button" value="Batal" onclick="location.href='<?php echo HOME ?>'"/>
				</td>
			</tr>
		</table>
		<?php echo form_close() ?>
